package com.iwhalecloud.citybrain.flow.platform.manager.domain.model;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * @author cheng.huaxing
 * @date 2019-02-01
 */
@Data
public class ProcessHandleVo implements Serializable {
    private static final long serialVersionUID = 5229768798807364484L;
    /**
     * 1:挂起、2:解挂、3:撤单、4:终止
     */
    @NotNull(groups = MonitorGroup.class)
    private String processStatus;

    @NotNull(groups = {MonitorGroup.class, RecallGroup.class, RemindGroup.class})
    private String processInstanceId;

    @NotNull(groups = RecallGroup.class)
    private String comment;

    public interface RecallGroup {
    }

    public interface RemindGroup {
    }

    public interface MonitorGroup {
    }

}
